package com.framework2.customviews;

import android.content.Context;
import android.support.annotation.Nullable;
import android.util.AttributeSet;

/**
 * 一直获取焦点的TextView
 *
 * @author YobertJomi
 * className AutoFocusTextView
 * created at  2017/4/25  10:35
 */

public class AutoFocusTextView extends android.support.v7.widget.AppCompatTextView {
    public AutoFocusTextView(Context context, @Nullable AttributeSet attrs) {
        super(context, attrs);
    }

    public AutoFocusTextView(Context context, @Nullable AttributeSet attrs, int defStyleAttr) {
        super(context, attrs, defStyleAttr);
    }

    @Override
    public boolean isFocused() {
        return true;
    }
}
